package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OverFlowListGoodsDao {

    // 保存报溢单信息
    void saveOverflowList(OverflowList overflowList);

    // 保存报溢单商品信息
    void saveOverflowListGoods(OverflowListGoods listGoods);

    //报溢单商品信息
    List<OverflowList> getOverflowList(@Param("sTime") String sTime, @Param("eTime") String eTime);

    //报溢单商品信息
    List<OverflowListGoods> getOverflowGoodsList(@Param("overflowListId") Integer overflowListId);
}
